package com.guanghua.brick.biz;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class CommonLocator implements ILocator {
	
	private static final Log logger = LogFactory.getLog(CommonLocator.class);
	
	public Object getBizBean(String cls) {
		try {
			return Class.forName(cls).newInstance();
		} catch (Exception e) {
			logger.error("create biz bean error", e);
			return null;
		}
	}

}
